//
//  ByModelOrder.h
//  oc_knowledge
//
//  Created by mc on 17/1/16.
//  Copyright © 2017年 com.itboye. All rights reserved.
//

#import "ByNetBaseModel.h"

#pragma mark -商品Model(第三层)
@interface ByModelOrderListItemProduct : ByNetBaseModel

@property (nonatomic, copy) NSString *pro_id;            // 商品编号
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *price;             // 单位：元
@property (nonatomic, copy) NSString *ori_price;         // 原价格
@property (nonatomic, copy) NSNumber *count;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *sku_desc;          // 商品属性
@property (nonatomic, copy) NSString *dt_goods_unit;

@property (nonatomic, copy) NSString *order_status;      // 订单的状态
@property (nonatomic, copy) NSString *tag;               // 标签（七天退换）
@property (nonatomic, assign) BOOL    isFromDetail;      //判断是否来自订单详情
@end

#pragma mark -订单Model（第二层）
@interface ByModelOrderListItem : ByNetBaseModel
@property (nonatomic, copy) NSArray *items;              // 订单商品
@property (nonatomic, copy) NSString *order_code;        // 订单编号
@property (nonatomic, copy) NSString *query_status;      // 订单状态
@property (nonatomic, copy) NSString *order_status;      // 订单状态
@property (nonatomic, copy) NSNumber *totalPrice;        // 实付总价，单位：元
@property (nonatomic, copy) NSString *post_price;        // 运费
@property (nonatomic, copy) NSString *price;             // 价格
@property (nonatomic, copy) NSString *order_id;          // 订单id
@property (nonatomic, copy) NSString *comment_status;    // 评价状态
@property (nonatomic, copy) NSString *discount_money;    // 折扣价格

@property (nonatomic, copy) NSString *store_name;        // 商铺名字
@property (nonatomic, copy) NSString *store_logo;        // 商铺图片
@property (nonatomic, copy) NSString *store_id;
@property (nonatomic, copy) NSString *store_boss_uid;

@end

#pragma mark -订单分页查询Model(第一层)
@interface ByModelOrder : ByNetBaseModel
@property (nonatomic, copy) NSNumber *count;
@property (nonatomic, copy) NSArray  *list;
@end
